package com.youlai.system.model.vo;


import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@ColumnWidth(20)
public class EmployExportVO {

    @ExcelProperty(value = "员工姓名")
    private String username;

    @ExcelProperty(value = "手机号")
    private String mobile;

    @ExcelProperty(value = "部门名称")
    private String departmentName;

    @ExcelProperty(value="聘用形式")
    private String formOfEmployment;

    @ExcelProperty(value = "工号")
    private String workNumber;

    @ExcelProperty(value="入职时间")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private LocalDateTime timeOfEntry;
    @ExcelProperty(value="转正时间")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private LocalDateTime correctionTime;

}
